home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / userbox / publicdomain / megabook / storage / dialdata / zeeterm.mbrx < prev    next >
Text File  |  1996-06-27  |  730b  |  34 lines

  1. /*
  2. ** ZeeTerm Dialer for MegaBook 3
  3. ** By Tom Bampton
  4. **
  5. ** © 1996 Eden Software
  6. **
  7. ** This is the script run when the Dial Data option is selected from the
  8. ** Extras menu, please see the docs for creating your own script to dial
  9. ** through your terminal program.
  10. */
  11.  
  12. /*
  13.    Path to ZeeTerm, it's run if ZeeTerm isn't running
  14.    Change this to the path of your copy of ZeeTerm
  15. */
  16. ZeeTermPath = 'Dh1:ZeeTerm/ZeeTerm'
  17.  
  18. parse arg Number
  19.  
  20. /* Check if ZeeTerm is running, if not, run it */
  21. if ~show('P', 'ZT_REXX_0') then do
  22.     address command
  23.     'run >nil: ' ZeeTermPath
  24.     /* Wait for the ARexx port */
  25.     do 5 while ~show('P', 'ZT_REXX_0')
  26.         'sys:rexxc/waitforport ZT_REXX_0'
  27.     end
  28. end
  29.  
  30. address 'ZT_REXX_0'
  31. options results
  32.  
  33. DialNumber Number
  34.